<script>
$("a#btnClose").click(function(){
  $.fancybox.close();
});
</script>
<div style="width:400px; height:auto">
  <div class="txtinput">Error</div>
  <div style="position:relative; float:left; width:100%; height:1px; background-color:#EEE; margin-bottom:10px;"><img src="imgs/x.gif" width="1" height="1"></div>
  <div><?php echo $handler->error_message ?></div>
  <div style="width:auto; height:auto; position:relative; text-align:center; margin-top:10px; margin-bottom:10px;">
    <a id="btnClose" href="#" class="small blue awesome">Close</a>
  </div>
<div>
